import { showToast } from '@uni/toast'

export const uniToast = (message: string, duration: number = 2000) => {
  showToast({
    title: message,
    icon: 'none',
    duration,
  })
}